import { nanoid } from "nanoid"
export const UUID = () =>{
    let id
    if(!localStorage.getItem('UUID')){
        id = nanoid()
        localStorage.setItem('UUID',id)
    }else{
        id = localStorage.getItem('UUID')
    }
    return id 
}